package dbsync4j.core.types;

import java.sql.DatabaseMetaData;

public enum IndexType {

	/** Unknown */
	unknown(-1),
	/** Statistic. */
	statistic(DatabaseMetaData.tableIndexStatistic),
	/** Clustered. */
	clustered(DatabaseMetaData.tableIndexClustered),
	/** Hashed. */
	hashed(DatabaseMetaData.tableIndexHashed),
	/** Other. */
	other(DatabaseMetaData.tableIndexOther);

	private final int id;

	private IndexType(final int id)	{
		this.id = id;
	}

	public int getId() {
		return id;
	}

}
